class attendanceRecordEntity {
  int shouldNum;
  int realityNum;
  int lackNum;
  String lackName;
  int truancyNum;
  String truancyName;
  String createTime;

  attendanceRecordEntity(
      {this.shouldNum,
        this.realityNum,
        this.lackNum,
        this.lackName,
        this.truancyNum,
        this.truancyName,
        this.createTime});

  attendanceRecordEntity.fromJson(Map<String, dynamic> json) {
    shouldNum = json['should_num'];
    realityNum = json['reality_num'];
    lackNum = json['lack_num'];
    lackName = json['lack_name'];
    truancyNum = json['truancy_num'];
    truancyName = json['truancy_name'];
    createTime = json['create_time'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['should_num'] = this.shouldNum;
    data['reality_num'] = this.realityNum;
    data['lack_num'] = this.lackNum;
    data['lack_name'] = this.lackName;
    data['truancy_num'] = this.truancyNum;
    data['truancy_name'] = this.truancyName;
    data['create_time'] = this.createTime;
    return data;
  }
}